import ExamCreate from './examcreate.vue'
import ExamSearch from './examSearch.vue'
import ExamAdd from './examAdd.vue'
import ExamEdit from './examEdit.vue'
import ExamView from './examView.vue'
import ExamUser from './examUser.vue'
import ExamTeacher from './examTeacher.vue'

const components = [
  ExamCreate, ExamSearch, ExamAdd, ExamEdit, ExamView, ExamUser, ExamTeacher
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}

export default main
